package xxxxxxxxxxx;

import java.io.EOFException;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.List;

public class Test {

	public static void main(String[] args) throws EOFException {
		System.out.print("Start ");
		try {
			System.out.print("Hello world");
			throw new FileNotFoundException();

		} catch (FileNotFoundException e) {
			System.out.print("File not found");
		}
		System.out.print("change in server");
		testList();

	}

	private static void testList() {
		List<Integer> list = new ArrayList<Integer>();
		list.add(0);
		list.add(1);
		list.add(2);
		for (Integer integer : list) {
			if (integer.equals(0))
				list.remove(integer);
		}
		System.out.println(list);

	}

}
